<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@include file="header.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Edit Fitting</title>
 
</head>
<body>
<script>
	function getObj(obj){
		return document.getElementById(obj);
	};
	$(document).ready(function(){
	    $("table tbody tr:even").addClass("tdbgcolor1"); 
	    $("table tbody tr:odd").addClass("tdbgcolor2"); 
	});
	function checkAndSubmit(){
		var form = document.getElementById("updateStaticForm");
		form.submit();
	}
		
</script>
<div align="center">编辑资讯</div>
<form method="post" action="updateStatic.action" id="updateStaticForm">
<table width="100%" border="0" cellpadding="3" cellspacing="1"	bgcolor="#FFFFFF" align="center">

	<tr>
		<td width="100">资讯名称:</td>
		<td><input type="text"  name="name" value="<s:property value='bean.name'/>" id="name" readonly /></td>
	</tr>

	<tr>
		<td>内容:</td>
		<td>
			<textarea id='content' name='content' cols="50" rows="20"><s:property value='bean.content' /></textarea>			 
		</td>
	</tr>
	<tr>

		<td colspan="2"><input type="hidden" name="engligshName"
			id="engligshName" value="<s:property value='bean.engligshName'/>" />
		<input type="hidden" name="shortName" id="shortName"
			value="<s:property value='bean.shortName'/>" /> <input type="button"
			value="Save" onclick="checkAndSubmit()" />&nbsp; <input
			type="button" value="reset" />&nbsp; <input type="hidden"
			value="<s:property value='bean.id'/>" name="staticAboutId"
			id="staticAboutId" />&nbsp; <input type="button" value="返回"
			onclick="javascript:window.history.back();" /></td>
</table>
</form>
</body>
</html>
